-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DataFrame.truncate drops MultiIndex names #34589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataFrame.truncate drops MultiIndex names #34589
Conversation
Thanks @arw2019 Could you add a test to show how this fixes the linked issue? |
Co-authored-by: Daniel Saxton <[email protected]>
@MarcoGorelli Added the test just now. It's currently inside As an aside, I looked in both |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, some comments, merge master and ping on green.
|
||
def test_truncate_multiindex_names(self): | ||
# GH 34564 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this tests is duplicative can remove
thanks @arw2019 |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
DataFrame
, still issue forSeries
)